import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import NewsList from '../../component/home/newsList';
import * as moduleAction from '../../actions/module';

const mapStateToProps = (state) => {
  return state;
};
const mapDispatchToProps = (dispatch) => {
  return {
    moduleActions: bindActionCreators(moduleAction, dispatch),
  }
};
export default connect(mapStateToProps, mapDispatchToProps)(NewsList);



